package com.javaweb.blogcite.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("blog")
public class Blog {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer categoryId;
    private Long createDate;
    private Integer scanNumber;
    private Integer commentNumber;
    private String title;
    private String description;
    private String htmlContent;
    private String thumb;
    private String toc;
}

